#ifndef __NETCOMM_NETSERVICE_H__
#define __NETCOMM_NETSERVICE_H__

#include <boost/asio/io_service.hpp>

class NetServer;

class NetService
{
public:

    static NetService& IOService();
    static bool run();

    boost::asio::io_service& getIOService();

private:
    NetService();
    ~NetService();

    boost::asio::io_service m_service;
};

#endif //__NETCOMM_NETSERVICE_H__
